package tix
import java.io.File

object GMP extends Package {
  type Version = tix.StringVersion
  type PackageVersion = AutotoolsPackageVersion

  class V5_0_2(val config: Map[Symbol, Any]) extends PackageVersion {
    val sourcePackage = new File("gmp-5.0.2.tar.bz2")
    val version = new Version("5.0.2")

    override def configureFlags() = List("--enable-cxx")
  }

  val versions: List[Class[_ <: Any]] = List(classOf[GMP.V5_0_2])
  override val factories: Map[Version, Factory] = Map(
    new Version("5.0.2") -> (config => new V5_0_2(config.conf)))
  val installed: Map[Version, PackageVersion] = Map()
}
